<template>
  <div class="head_group_wrap">
    <el-icon :size="20" color="#fff"><Menu /></el-icon>
    <span class="head_name">{{ title }}</span>
  </div>
</template>

<script setup>
import { Menu } from '@element-plus/icons-vue';
defineProps({
  title: {
    type: String,
    default: 'Vue Main'
  }
})
</script>

<style scoped>
.head_group_wrap {
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  align-items: center;
  background: #344154;
}

.head_name {
  margin-left: 10px;
  font-weight: bold;
  font-size: 20px;
  color: #fff;
}
</style>
